package demo1;

/**
 * @Author: Lenovo
 * @Date: 2024/5/19 12:59
 * @description:
 */
public class Bird extends Animal{
    public Bird(String name, int age) {
        super(name, age);
    }
    public void fly(){
        System.out.println(this.name+" 在飞翔...");
    }
    public void eat(){
        System.out.println(this.name+" 正在吃鸟粮...");
    }
}
